package cn.drh.charging.order.dao.repository;


import cn.drh.charging.order.pojo.po.ChargingBillFailPO;
import cn.drh.charging.order.pojo.po.ChargingBillSuccessPO;

/**
 * @ClassName OrderRepository
 * @Description TODO
 * @Author renhong~Deng
 * @Date 2025/6/4 16:12
 * @Version 1.0
 */

public interface OrderRepository {
    ChargingBillSuccessPO getSuccessOrder(String orderNo);

    void updateOrderStatusFromProcess2ExceptionEnd(String orderNo);

    ChargingBillFailPO getFailOrder(String orderNo);

    void saveFailOrder(ChargingBillFailPO chargingBillFailPO1);

    void updateDeviceInfo(String orderNo, Integer gunId);

    void saveSuccessOrder(ChargingBillSuccessPO chargingBillSuccessPO);
}
